import React, {Component} from 'react';
import logo from './logo.svg';
import './App.css';
import {Button, Form} from 'antd';
import Block from 'react-blocks';
import NormalLoginForm from "./NormalLoginForm";
import {BrowserRouter, Route, Router, Switch} from "react-router-dom";
import List from "./List";
import Main from "./Main";
import  Test from './Test'

class App extends Component {
    render() {

        return (
            <BrowserRouter>
                <div>
                    <Route exact path="/" component={Main}/>
                    <Route path={'/abc'} component={Main}/>
                    <Route path="/page1" component={List}/>
                    <Route path="/page2" component={Test}/>
                </div>

            </BrowserRouter>
        );
    }
}

export default App;
